/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package cn.com.recloud.bbs.service;

import cn.com.recloud.bbs.entity.bbs_my_favorite_log;
import cn.com.recloud.bbs.vo.MyFavoriteVO;
import cn.com.recloud.one.spring.service.BaseService;

import java.util.List;

/**
 * @author keblea xie
 * @date 2020-06-08
 */
public interface MyFavoriteLogService extends BaseService<bbs_my_favorite_log> {

    List<MyFavoriteVO> findMyFavoriteList(String name,String type,int pageIndex,int pageSize);

    boolean saveFavorite(bbs_my_favorite_log bbsMyFavoriteLog);

    boolean cancelFavorite(String userId,String objectId);
}
